package com.example.xyh.service;

import com.example.xyh.dto.LineItemDto;
import com.example.xyh.entity.LineItem;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface LineItemService {
    List<LineItemDto> getBusinessItemList(Integer business_id);

    LineItemDto addItem(Integer business_id, String item_name, Double item_price);

    LineItem findByItemId(Integer item_id);
}
